package com.patchmanage.back.entity;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.io.Serializable;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;

/**
* <p>
    * 
    * </p>
*
* @author huizhao
* @since 2021-07-11
*/
    @ApiModel(value="InventoryPackage对象", description="")
    public class InventoryPackage implements Serializable {

    private static final long serialVersionUID = 1L;

            @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String hostname;

            @ApiModelProperty(value = "包名称")
    private String name;

            @ApiModelProperty(value = "包版本")
    private String version;

            @ApiModelProperty(value = "发型号")
    private String releaseNo;

            @ApiModelProperty(value = "新的版本")
    private String newVersion;

            @ApiModelProperty(value = "新的发型号")
    private String newReleaseNo;

            @ApiModelProperty(value = "架构")
    private String arch;

            @ApiModelProperty(value = "仓储")
    private String repository;

        public Integer getId() {
        return id;
        }

            public void setId(Integer id) {
        this.id = id;
        }
        public String getHostname() {
        return hostname;
        }

            public void setHostname(String hostname) {
        this.hostname = hostname;
        }
        public String getName() {
        return name;
        }

            public void setName(String name) {
        this.name = name;
        }
        public String getVersion() {
        return version;
        }

            public void setVersion(String version) {
        this.version = version;
        }
        public String getReleaseNo() {
        return releaseNo;
        }

            public void setReleaseNo(String releaseNo) {
        this.releaseNo = releaseNo;
        }
        public String getNewVersion() {
        return newVersion;
        }

            public void setNewVersion(String newVersion) {
        this.newVersion = newVersion;
        }
        public String getNewReleaseNo() {
        return newReleaseNo;
        }

            public void setNewReleaseNo(String newReleaseNo) {
        this.newReleaseNo = newReleaseNo;
        }
        public String getArch() {
        return arch;
        }

            public void setArch(String arch) {
        this.arch = arch;
        }
        public String getRepository() {
        return repository;
        }

            public void setRepository(String repository) {
        this.repository = repository;
        }

    @Override
    public String toString() {
    return "InventoryPackage{" +
            "id=" + id +
            ", hostname=" + hostname +
            ", name=" + name +
            ", version=" + version +
            ", releaseNo=" + releaseNo +
            ", newVersion=" + newVersion +
            ", newReleaseNo=" + newReleaseNo +
            ", arch=" + arch +
            ", repository=" + repository +
    "}";
    }
}
